<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

	<meta charset="UTF-8">
	<title>-webkit-box-flex | CtripUED Webkit CSS Library</title>
	
	<script type="text/javascript" src="base.js"></script>

<link rel="stylesheet" type="text/css" href="box-flex_001.css" media="all">
</head>
<body>
<div class="head">
	<div class="wrap">
		<a indepth="true" href="index.html" class="logo">CtripUED webkit CSS library</a>
		<div class="nav">
			<ul>
				<li><a indepth="true" href="index.html">首页</a></li>
				<li><a indepth="true" href="aboutus.html#about">关于我们</a></li>
				<li><a indepth="true" href="aboutus.html#about_box">意见反馈</a></li>
				<li><a href="http://ued.ctrip.com/">CtripUED 博客</a></li>
			</ul>
		</div>
	</div>
</div>
<div class="wrap">
	<div class="side">
		<div class="filter_box">
			<div class="field" id="catalogFilter">
				<input id="key" placeholder="属性搜索..." type="search">
			</div>
		</div>
		<div class="categorys"></div>
	</div>

	<div class="main" id="main">
		<div class="position" id="position">
			您的位置: <a indepth="true" href="index.html">首页</a> &gt; -webkit-box-flex
		</div>
		<!-- /position -->
		<div class="prop_intro">
			<div class="tit">
				<h1>-webkit-box-flex 属性</h1>
			</div>
			<div class="prop_detail">
				设置或检索弹性盒模型对象的子元素<span class="ex">如何分配其剩余空间</span>。box-flex生效需定义其父元素display为box或inline-box<br>
				误区：注意box-flex只是动态分配父元素的剩余空间，而不是整个父元素的空间。子元素所分到的应该是除内容外所剩余下来的宽度<br>
				对应的脚本特性为boxFlex。
			</div>
			<!-- /prop_detail -->
			<div class="prop_comp">
				<p>
					<i class="ico_browser ico_browser_saf"><small>?</small></i>
					<i class="ico_browser ico_browser_chr"><small>?</small></i>
					<i class="ico_browser ico_browser_and"><small>?</small></i>
					<i class="ico_browser ico_browser_ios"><small>?</small></i>
				</p>
				<p>?: 表示版本号未知，但该属性可用。</p>
			</div>
			<!-- /prop_comp -->
			<!-- Baidu Button BEGIN -->
			<!-- Baidu Button BEGIN -->

		</div>
		<!-- /prop_intro -->
		<div class="mod prop_gramm">
			<h2 class="mod_tit">语法</h2>
			<p class="mod_con">
				<strong>-webkit-box-flex:</strong>&lt;number&gt;
			</p>
		</div>
		<!-- /prop_gramm -->
		<div class="mod prop_value">
			<h2 class="mod_tit">取值</h2>
			<div class="mod_con">
				<table>
					<tbody><tr>
						<th>&lt;number&gt;</th>
						<td>使用浮点数指定对象所分配其父元素剩余空间的比例。</td>
					</tr>
				</tbody></table>
			</div>
		</div>
		<!-- /prop_value -->
		<div class="mod prop_demo">
			<h2 class="mod_tit">示例</h2>
			<div class="mod_con">
				<iframe id="iframedemo" style="border: 1px solid rgb(204, 204, 204);" src="box-flex_001_1.html" width="100%" frameborder="0" height="400"></iframe>
				<div class="btns">
					<a indepth="true" href="box-flex_002.html" target="_top" class="btn_primary">演示</a>
				</div>

			</div>
		</div>
		<!-- /prop_demo -->
	</div>
	<!-- /main -->
</div>
<!-- /wrap -->



</body></html>
